<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span id="local-6989586621679628241"><span id="local-6989586621679628242"><span id="local-6989586621679628243"><span id="local-6989586621679628244"></span></span></span></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">Distribution.SPDX.LicenseListVersion</span><span> </span><span class="hs-special">(</span><span>
</span><span id="line-2"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion"><span class="hs-identifier">LicenseListVersion</span></a></span><span> </span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span>
</span><span id="line-3"></span><span>    </span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#cabalSpecVersionToSPDXListVersion"><span class="hs-identifier">cabalSpecVersionToSPDXListVersion</span></a></span><span class="hs-special">,</span><span>
</span><span id="line-4"></span><span>    </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-5"></span><span>
</span><span id="line-6"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="Distribution.CabalSpecVersion.html"><span class="hs-identifier">Distribution.CabalSpecVersion</span></a></span><span>
</span><span id="line-7"></span><span>
</span><span id="line-8"></span><span class="hs-comment">-- | SPDX License List version @Cabal@ is aware of.</span><span>
</span><span id="line-9"></span><span class="hs-keyword">data</span><span> </span><span id="LicenseListVersion"><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion"><span class="hs-identifier hs-var">LicenseListVersion</span></a></span></span><span>
</span><span id="line-10"></span><span>    </span><span class="hs-glyph">=</span><span> </span><span id="LicenseListVersion_3_0"><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion_3_0"><span class="hs-identifier hs-var">LicenseListVersion_3_0</span></a></span></span><span>
</span><span id="line-11"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="LicenseListVersion_3_2"><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion_3_2"><span class="hs-identifier hs-var">LicenseListVersion_3_2</span></a></span></span><span>
</span><span id="line-12"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="LicenseListVersion_3_6"><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion_3_6"><span class="hs-identifier hs-var">LicenseListVersion_3_6</span></a></span></span><span>
</span><span id="line-13"></span><span>    </span><span class="hs-glyph">|</span><span> </span><span id="LicenseListVersion_3_9"><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion_3_9"><span class="hs-identifier hs-var">LicenseListVersion_3_9</span></a></span></span><span>
</span><span id="line-14"></span><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679628232"><span id="local-6989586621679628234"><span class="annot"><span class="annottext">LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
(LicenseListVersion -&gt; LicenseListVersion -&gt; Bool)
-&gt; (LicenseListVersion -&gt; LicenseListVersion -&gt; Bool)
-&gt; Eq LicenseListVersion
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
$c/= :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
== :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
$c== :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679628212"><span id="local-6989586621679628214"><span id="local-6989586621679628217"><span id="local-6989586621679628220"><span id="local-6989586621679628223"><span id="local-6989586621679628225"><span id="local-6989586621679628227"><span class="annot"><span class="annottext">Eq LicenseListVersion
Eq LicenseListVersion
-&gt; (LicenseListVersion -&gt; LicenseListVersion -&gt; Ordering)
-&gt; (LicenseListVersion -&gt; LicenseListVersion -&gt; Bool)
-&gt; (LicenseListVersion -&gt; LicenseListVersion -&gt; Bool)
-&gt; (LicenseListVersion -&gt; LicenseListVersion -&gt; Bool)
-&gt; (LicenseListVersion -&gt; LicenseListVersion -&gt; Bool)
-&gt; (LicenseListVersion -&gt; LicenseListVersion -&gt; LicenseListVersion)
-&gt; (LicenseListVersion -&gt; LicenseListVersion -&gt; LicenseListVersion)
-&gt; Ord LicenseListVersion
LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
LicenseListVersion -&gt; LicenseListVersion -&gt; Ordering
LicenseListVersion -&gt; LicenseListVersion -&gt; LicenseListVersion
forall a.
Eq a
-&gt; (a -&gt; a -&gt; Ordering)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; Bool)
-&gt; (a -&gt; a -&gt; a)
-&gt; (a -&gt; a -&gt; a)
-&gt; Ord a
min :: LicenseListVersion -&gt; LicenseListVersion -&gt; LicenseListVersion
$cmin :: LicenseListVersion -&gt; LicenseListVersion -&gt; LicenseListVersion
max :: LicenseListVersion -&gt; LicenseListVersion -&gt; LicenseListVersion
$cmax :: LicenseListVersion -&gt; LicenseListVersion -&gt; LicenseListVersion
&gt;= :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
$c&gt;= :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
&gt; :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
$c&gt; :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
&lt;= :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
$c&lt;= :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
&lt; :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
$c&lt; :: LicenseListVersion -&gt; LicenseListVersion -&gt; Bool
compare :: LicenseListVersion -&gt; LicenseListVersion -&gt; Ordering
$ccompare :: LicenseListVersion -&gt; LicenseListVersion -&gt; Ordering
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Ord</span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679628205"><span id="local-6989586621679628207"><span id="local-6989586621679628209"><span class="annot"><span class="annottext">Int -&gt; LicenseListVersion -&gt; ShowS
[LicenseListVersion] -&gt; ShowS
LicenseListVersion -&gt; String
(Int -&gt; LicenseListVersion -&gt; ShowS)
-&gt; (LicenseListVersion -&gt; String)
-&gt; ([LicenseListVersion] -&gt; ShowS)
-&gt; Show LicenseListVersion
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [LicenseListVersion] -&gt; ShowS
$cshowList :: [LicenseListVersion] -&gt; ShowS
show :: LicenseListVersion -&gt; String
$cshow :: LicenseListVersion -&gt; String
showsPrec :: Int -&gt; LicenseListVersion -&gt; ShowS
$cshowsPrec :: Int -&gt; LicenseListVersion -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679628166"><span id="local-6989586621679628168"><span id="local-6989586621679628172"><span id="local-6989586621679628176"><span id="local-6989586621679628178"><span id="local-6989586621679628188"><span id="local-6989586621679628194"><span id="local-6989586621679628202"><span class="annot"><span class="annottext">Int -&gt; LicenseListVersion
LicenseListVersion -&gt; Int
LicenseListVersion -&gt; [LicenseListVersion]
LicenseListVersion -&gt; LicenseListVersion
LicenseListVersion -&gt; LicenseListVersion -&gt; [LicenseListVersion]
LicenseListVersion
-&gt; LicenseListVersion -&gt; LicenseListVersion -&gt; [LicenseListVersion]
(LicenseListVersion -&gt; LicenseListVersion)
-&gt; (LicenseListVersion -&gt; LicenseListVersion)
-&gt; (Int -&gt; LicenseListVersion)
-&gt; (LicenseListVersion -&gt; Int)
-&gt; (LicenseListVersion -&gt; [LicenseListVersion])
-&gt; (LicenseListVersion
    -&gt; LicenseListVersion -&gt; [LicenseListVersion])
-&gt; (LicenseListVersion
    -&gt; LicenseListVersion -&gt; [LicenseListVersion])
-&gt; (LicenseListVersion
    -&gt; LicenseListVersion
    -&gt; LicenseListVersion
    -&gt; [LicenseListVersion])
-&gt; Enum LicenseListVersion
forall a.
(a -&gt; a)
-&gt; (a -&gt; a)
-&gt; (Int -&gt; a)
-&gt; (a -&gt; Int)
-&gt; (a -&gt; [a])
-&gt; (a -&gt; a -&gt; [a])
-&gt; (a -&gt; a -&gt; [a])
-&gt; (a -&gt; a -&gt; a -&gt; [a])
-&gt; Enum a
enumFromThenTo :: LicenseListVersion
-&gt; LicenseListVersion -&gt; LicenseListVersion -&gt; [LicenseListVersion]
$cenumFromThenTo :: LicenseListVersion
-&gt; LicenseListVersion -&gt; LicenseListVersion -&gt; [LicenseListVersion]
enumFromTo :: LicenseListVersion -&gt; LicenseListVersion -&gt; [LicenseListVersion]
$cenumFromTo :: LicenseListVersion -&gt; LicenseListVersion -&gt; [LicenseListVersion]
enumFromThen :: LicenseListVersion -&gt; LicenseListVersion -&gt; [LicenseListVersion]
$cenumFromThen :: LicenseListVersion -&gt; LicenseListVersion -&gt; [LicenseListVersion]
enumFrom :: LicenseListVersion -&gt; [LicenseListVersion]
$cenumFrom :: LicenseListVersion -&gt; [LicenseListVersion]
fromEnum :: LicenseListVersion -&gt; Int
$cfromEnum :: LicenseListVersion -&gt; Int
toEnum :: Int -&gt; LicenseListVersion
$ctoEnum :: Int -&gt; LicenseListVersion
pred :: LicenseListVersion -&gt; LicenseListVersion
$cpred :: LicenseListVersion -&gt; LicenseListVersion
succ :: LicenseListVersion -&gt; LicenseListVersion
$csucc :: LicenseListVersion -&gt; LicenseListVersion
</span><a href="../../base/src/GHC.Enum.html#Enum"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Enum</span></a></span></span></span></span></span></span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679628161"><span id="local-6989586621679628163"><span class="annot"><span class="annottext">LicenseListVersion
LicenseListVersion
-&gt; LicenseListVersion -&gt; Bounded LicenseListVersion
forall a. a -&gt; a -&gt; Bounded a
maxBound :: LicenseListVersion
$cmaxBound :: LicenseListVersion
minBound :: LicenseListVersion
$cminBound :: LicenseListVersion
</span><a href="../../base/src/GHC.Enum.html#Bounded"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Bounded</span></a></span></span></span><span class="hs-special">)</span><span>
</span><span id="line-15"></span><span>
</span><span id="line-16"></span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#cabalSpecVersionToSPDXListVersion"><span class="hs-identifier hs-type">cabalSpecVersionToSPDXListVersion</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="Distribution.CabalSpecVersion.html#CabalSpecVersion"><span class="hs-identifier hs-type">CabalSpecVersion</span></a></span><span> </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion"><span class="hs-identifier hs-type">LicenseListVersion</span></a></span><span>
</span><span id="line-17"></span><span id="cabalSpecVersionToSPDXListVersion"><span class="annot"><span class="annottext">cabalSpecVersionToSPDXListVersion :: CabalSpecVersion -&gt; LicenseListVersion
</span><a href="Distribution.SPDX.LicenseListVersion.html#cabalSpecVersionToSPDXListVersion"><span class="hs-identifier hs-var hs-var">cabalSpecVersionToSPDXListVersion</span></a></span></span><span> </span><span class="annot"><span class="annottext">CabalSpecVersion
</span><a href="Distribution.CabalSpecVersion.html#CabalSpecV3_4"><span class="hs-identifier hs-var">CabalSpecV3_4</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LicenseListVersion
</span><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion_3_9"><span class="hs-identifier hs-var">LicenseListVersion_3_9</span></a></span><span>
</span><span id="line-18"></span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#cabalSpecVersionToSPDXListVersion"><span class="hs-identifier hs-var">cabalSpecVersionToSPDXListVersion</span></a></span><span> </span><span class="annot"><span class="annottext">CabalSpecVersion
</span><a href="Distribution.CabalSpecVersion.html#CabalSpecV3_0"><span class="hs-identifier hs-var">CabalSpecV3_0</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LicenseListVersion
</span><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion_3_6"><span class="hs-identifier hs-var">LicenseListVersion_3_6</span></a></span><span>
</span><span id="line-19"></span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#cabalSpecVersionToSPDXListVersion"><span class="hs-identifier hs-var">cabalSpecVersionToSPDXListVersion</span></a></span><span> </span><span class="annot"><span class="annottext">CabalSpecVersion
</span><a href="Distribution.CabalSpecVersion.html#CabalSpecV2_4"><span class="hs-identifier hs-var">CabalSpecV2_4</span></a></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LicenseListVersion
</span><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion_3_2"><span class="hs-identifier hs-var">LicenseListVersion_3_2</span></a></span><span>
</span><span id="line-20"></span><span class="annot"><a href="Distribution.SPDX.LicenseListVersion.html#cabalSpecVersionToSPDXListVersion"><span class="hs-identifier hs-var">cabalSpecVersionToSPDXListVersion</span></a></span><span> </span><span class="annot"><span class="annottext">CabalSpecVersion
</span><span class="hs-identifier">_</span></span><span>             </span><span class="hs-glyph">=</span><span> </span><span class="annot"><span class="annottext">LicenseListVersion
</span><a href="Distribution.SPDX.LicenseListVersion.html#LicenseListVersion_3_0"><span class="hs-identifier hs-var">LicenseListVersion_3_0</span></a></span><span>
</span><span id="line-21"></span></pre></body></html>